/**
 * Fitstart activity list style
 * ==========================================================================
 */
.activities-toolbar {
  padding: 15px 0;
  margin-bottom: 5px;
  overflow: hidden;
  height: auto;
}

.activities-toolbar .title {
  width: auto;
  overflow: hidden;
  float: left;
}

.activities-toolbar .title h1 {
  display: block;
  float: left;
  padding: 6px 15px 6px 0;
  margin: 0;
  text-decoration: none;
  font-size: 18px;
  color: #333;
}

.activities-toolbar .search-control {
  float: right;
}

.activities-list {
  margin-left: -20px;
  margin-right: -30px;
}

.activities-list .activity-item {
  float: left;
  width: 33%;
  border: 0px;
  padding: 0 15px 30px 15px;
}

.activities-list .activity-item .content p {
  height: 40px;
}

.activities-list .activities-activity.item {
  position: relative;
  display: block;
  height: 180px;
  overflow: hidden;
}

.activities-list .activity.item img {
  display: block;
  width: 100%;
  max-height: 200px;
  height: 100%；
}

.activities-list .activity.item .title {
  position: absolute;
  bottom: 0px;
  width: 100%;
  height: 36px;
  padding: 8px 20px;
  color: #fff;
  background: rgba(0, 0, 0, .8);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}


.activities-list .activity.item h2 a {
  color: #333;
}

.activity.item a.activity-link {
  position: absolute;
  top: 0px;
  right: 0px;
  left: 0px;
  bottom: 20px;
  cursor: pointer;
}

.activity.item:first-child a.activity-link {
  top: 20px;
}

.activity .activity-img {
  display: block;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.activity .activity-img > img {
  display: block;
  width: 100%;
  min-height: 100%;
}

.activity.item .content {
  padding: 15px 15px 5px 15px;
  border: 1px solid #E8E6E7;
  box-shadow: -1px 2px 1px #E9E9E9;
}

.content h2 {
  margin: 0px;
}

.item .content p {
  font-size: 14px;
  white-space: normal;
  line-height: 22px;
  margin: 12px 0;
}

.activity.item .content p {
  margin-top: 5px;
}

.activity.item .content p.time:before {
  position: absolute;
  content: '';
  width: 100%;
  height: 2px;
  background-color: #F2F2F2;
  left: 0px;
  top: 0px;
}

.activity.item .content p.time {
  position: relative;
  display: block;
  padding-top: 14px;
  height: 40px;
  line-height: 26px;
}

.activity.item .content p label {
  position: relative;
  display: inline-block;
  background-color: #63D5BB;
  padding: 3px 10px;
  padding-right: 20px;
  line-height: 14px;
  font-size: 10px !important;
}

.activity.item .content p label:after {
  position: absolute;
  content: '';
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #fff;
  top: 0px;
  right: 0px;
}
